# Copyright (c) 2019 by Tommaso Becca
#
# Endless Sky is free software: you can redistribute it and/or modify it under the
# terms of the GNU General Public License as published by the Free Software
# Foundation, either version 3 of the License, or (at your option) any later version.
#
# Endless Sky is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE. See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along with
# this program. If not, see <https://www.gnu.org/licenses/>.

# Weapons:

outfit "Ka'het Nullifier"
	"display name" "カヘト・ナリファイアー"
	plural "カヘト・ナリファイアー"
	category "Guns"
	series "Guns"
	index 05030
	cost 3062000
	thumbnail "outfit/ka'het nullifier"
	"mass" 68
	"outfit space" -97
	"weapon capacity" -97
	"gun ports" -1
	weapon
		sprite "projectile/ionball"
			"frame rate" 15
			"rewind"
		sound "ionball"
		"fire effect" "finisher sparks" 20
		"hit effect" "ionball ring" 15
		"hit effect" "ionball impact"
		"hit effect" "ionball fragment" 24
		"live effect" "ionball spark" 140
		"live effect" "ionball trail" 140
		"live effect" "ionball twinkle" 560
		"inaccuracy" 0.2
		"velocity" 9
		"lifetime" 200
		"reload" 350
		"cluster"
		"firing energy" 710
		"firing force" 135
		"firing heat" 160
		"turn" 73
		"shield damage" 120
		"hull damage" 40
		"energy damage" 3200
		"ion damage" 220
		"scrambling damage" 10
		"hit force" 75
		"blast radius" 20
	description "ナリファイアーは、建造者が開発した武器のなかでもとりわけ大きなものだ。これははっきりと、バレティが戦闘にたずさえていくために作られていた。シールドと船殻にはほとんど損害を与えないが、一発でたいていの種類の反応炉を数秒以内に無効化する能力をもっている。"

effect "ionball spark"
	sprite "effect/ion impact"
		"no repeat"
		"frame rate" 30
	"lifetime" 11
	"random angle" 360
	"random spin" 10
	"random velocity" 3
	"velocity scale" 1.1

effect "ionball trail"
	sprite "effect/spark"
		"no repeat"
		"frame rate" 30
	"lifetime" 9
	"random angle" 360
	"random frame rate" 6
	"random velocity" 5
	"random spin" 10
	"velocity scale" 0.3

effect "ionball twinkle"
	sprite "effect/finisher sparks"
		"no repeat"
		"frame rate" 30
	"lifetime" 8
	"random angle" 360
	"random velocity" 3
	"random spin" 10
	"velocity scale" 0.1

effect "ionball impact"
	sprite "effect/ion explosion"
		"no repeat"
		"frame rate" 20
	"lifetime" 13
	sound "explosion huge"
	"random spin" 20
	"velocity scale" 0

effect "ionball fragment"
	sprite "effect/emp torpedo fire"
		"no repeat"
		"frame rate" 15
	"lifetime" 21
	"random angle" 360
	"random velocity" 6
	"velocity scale" 0

effect "ionball ring"
	sprite "effect/ionball ring"
		"no repeat"
		"frame rate" 24
	"lifetime" 30
	"random angle" 360
	"random frame rate" 12
	"random velocity" 4
	"velocity scale" 0

outfit "Ka'het Ravager Beam"
	"display name" "カヘト・ラビジャービーム"
	plural "カヘト・ラビジャービーム"
	category "Guns"
	series "Guns"
	index 05020
	cost 322000
	thumbnail "outfit/ka'het ravager beam"
	"mass" 13
	"outfit space" -18
	"weapon capacity" -18
	"gun ports" -1
	weapon
		sprite "projectile/ravager beam"
			"frame rate" 15
		sound "disruptor"
		"hit effect" "ravager impact"
		"inaccuracy" .2
		"velocity" 480
		"lifetime" 1
		"reload" 1
		"firing energy" 3.7
		"firing heat" 1.5
		"shield damage" 1.8
		"hull damage" 4.3
	description "このレーザービームは、建造者によって小惑星採掘用として作られた。不幸なことに、建造者が戦闘でこれが有効であると理解したのは、自分たちに向けられたあとでしかなかった。"

outfit "Ka'het Ravager Turret"
	"display name" "カヘト・ラビジャー砲塔"
	plural "カヘト・ラビジャー砲塔"
	category "Turrets"
	series "Turrets"
	index 05020
	cost 417000
	thumbnail "outfit/ka'het ravager turret"
	"mass" 16
	"outfit space" -22
	"weapon capacity" -22
	"turret mounts" -1
	weapon
		sprite "projectile/ravager beam"
			"frame rate" 15
		"hardpoint sprite" "hardpoint/ravager turret"
		"hardpoint offset" 3.
		sound "disruptor"
		"hit effect" "ravager impact"
		"inaccuracy" .2
		"turret turn" 4.2
		"velocity" 480
		"lifetime" 1
		"reload" 1
		"firing energy" 3.7
		"firing heat" 1.5
		"shield damage" 1.8
		"hull damage" 4.3
	description "この砲塔搭載型のラビジャービームは、カヘトが所有する武器のなかでもとりわけ強力なものだ。"

effect "ravager impact"
	sprite "effect/ravager impact"
		"no repeat"
		"frame rate" 1
	"lifetime" 1
	"velocity scale" 0

outfit "Ka'het Annihilator"
	"display name" "カヘト・アナイアレイター"
	plural "カヘト・アナイアレイター"
	category "Guns"
	series "Guns"
	index 05010
	cost 351000
	thumbnail "outfit/ka'het annihilator"
	"mass" 10
	"outfit space" -14
	"weapon capacity" -14
	"gun ports" -1
	weapon
		sprite "projectile/annihilator"
			"frame rate" 7
		sound "inhibitor"
		"hit effect" "bullet impact"
		"inaccuracy" 2.5
		"velocity" 18
		"lifetime" 35
		"reload" 10
		"firing energy" 31
		"firing heat" 8
		"shield damage" 43
		"hull damage" 12
	description "建造者が最初にアナイアレイターを作ったのは昔のことで、新たに見いだした自分たちのシールド発生源にたいする対抗策としてだった。建造者は何世紀にもわたって開発をつづけ、これがその最終結果である。"

outfit "Ka'het Annihilator Turret"
	"display name" "カヘト・アナイアレイター砲塔"
	plural "カヘト・アナイアレイター砲塔"
	category "Turrets"
	series "Turrets"
	index 05010
	cost 529000
	thumbnail "outfit/ka'het annihilator turret"
	"mass" 25
	"outfit space" -32
	"weapon capacity" -32
	"turret mounts" -1
	weapon
		sprite "projectile/annihilator"
			"frame rate" 7
		sound "inhibitor"
		"hardpoint sprite" "hardpoint/annihilator turret"
		"hardpoint offset" 15.
		"hit effect" "bullet impact"
		"inaccuracy" 1
		"turret turn" 3.2
		"range override" 630
		"velocity override" 18
		"reload" 10
		"firing energy" 62
		"firing heat" 16
		"submunition" "Annihilator Projectile" 2
	description "建造者は 2 門のアナイアレイターこの砲塔に搭載し、敵のシールドにたいして高い効果をもつようにした。"

outfit "Annihilator Projectile"
	"display name" "アナイアレイター発射体"
	plural "アナイアレイター発射体"
	weapon
		sprite "projectile/annihilator"
			"frame rate" 7
		sound "inhibitor"
		"hit effect" "bullet impact"
		"inaccuracy" 2
		"velocity" 18
		"lifetime" 35
		"shield damage" 43
		"hull damage" 12

outfit "Ka'het EMP Deployer"
	"display name" "カヘト・電磁パルス展開機"
	plural "カヘト・電磁パルス展開機"
	category "Secondary Weapons"
	series "Secondary Weapons"
	index 05010
	cost 715000
	thumbnail "outfit/ka'het emp deployer"
	"mass" 10
	"outfit space" -26
	"weapon capacity" -26
	"gun ports" -1
	"emp torpedo capacity" 27
	weapon
		sprite "projectile/emp torpedo"
			"frame rate" 2
			"no repeat"
		sound "torpedo"
		ammo "EMP Torpedo"
		stream
		icon "icon/emp"
		"fire effect" "emp torpedo fire" 5
		"hit effect" "nuke explosion"
		"hit effect" "emp ring" 30
		"hit effect" "emp spark" 20
		"die effect" "tiny explosion"
		"inaccuracy" 4
		"velocity" 7
		"lifetime" 300
		"reload" 180
		"firing energy" 540
		"firing heat" 11
		"acceleration" .7
		"drag" .1
		"turn" 2
		"homing"
			"throttle control"
		"infrared tracking" .2
		"radar tracking" .8
		"trigger radius" 50
		"blast radius" 200
		"shield damage" 700
		"hull damage" 100
		"ion damage" 48
		"scrambling damage" 48
		"hit force" 135
		"missile strength" 80
	description "ずっと昔、建造者は異星船から攻撃をうけたが、その異星船は船殻を無視して反応炉に損害を与える武器を使っていた。その武器のどんな効果もまったく埋めあわせることができなかったものの、何年もかけた研究の結果、建造者はどうにかその効果を再現できたのだった。"
	description "	この武器の弾薬はどの装備店でも補充できる。"
		to display
			has "gamerule: universal ammo restocking"

outfit "Ka'het Emergency Deployer"
	"display name" "カヘット緊急展開装置"
	plural "カヘット緊急展開装置"
	category "Secondary Weapons"
	series "Secondary Weapons"
	index 05020
	cost 645000
	thumbnail "outfit/ka'het mhd deployer"
	"mass" 13
	"outfit space" -17
	"gun ports" -1
	weapon
		sprite "projectile/mhd"
			"frame rate" 2
		sound "rocket"
		ammo "Ka'het MHD Generator"
		icon "icon/mhd"
		"hit effect" "mhd explosion"
		"hit effect" "mhd spark" 860
		"die effect" "small explosion"
		"inaccuracy" 3
		"velocity" 12
		"lifetime" 230
		"reload" 60
		"range override" 400
		"firing energy" -3800
		"firing force" 1350
		"firing heat" 5800
		"firing hull" 60
		"trigger radius" 40
		"blast radius" 230
		"shield damage" 28750
		"hull damage" 9060
		"heat damage" 4920
		"hit force" 2400
		"missile strength" 280
	description "ビルダーが持っていたドローンのほとんどはまったくの無武装で、敵の攻撃にひどく弱かった。武器を積めば貨物容量が大きく削られてしまうため、彼らは代わりに、乗っ取りを狙う者を思いとどまらせる手段としてこの緊急展開装置を作り上げた。船のMHD発電機の内部で一連の反応を起こし、そのまま敵に向けて射出する仕組みで、何かに当たった瞬間に大規模な爆発を起こす。"

effect "mhd spark"
	sprite "effect/mhd spark"
		"frame rate" 12
		"rewind"
		"random start frame"
	"random angle" 360
	"lifetime" 30
	"velocity scale" .2
	"random lifetime" 30
	"random velocity" 4.45

effect "mhd explosion"
	sprite "effect/ion explosion"
		"no repeat"
		"frame rate" 30
	sound "explosion nuke"
	"lifetime" 5
	"random angle" 360
	"random spin" 5
	"random velocity" 1
	"velocity scale" .2

# Cooling:

outfit "Ka'het Support Cooling"
	"display name" "カヘト・補助冷却器"
	plural "カヘト・補助冷却器"
	category "Systems"
	series "Cooling"
	index 05010
	cost 218000
	thumbnail "outfit/ka'het support cooling"
	"mass" 6
	"outfit space" -8
	"active cooling" 32
	"cooling energy" 3.1
	description "典型的な船での冷却は、特定の区域にいる乗員の快適性を維持することに気をつかう必要があるだけだが、カヘト船は全体が中のヘトが生きていくのに適切な温度に保たれる必要がある。"


outfit "Ka'het Primary Cooling"
	"display name" "カヘト・1 次冷却器"
	plural "カヘト・1 次冷却器"
	category "Systems"
	series "Cooling"
	index 05020
	cost 563000
	thumbnail "outfit/ka'het primary cooling"
	"mass" 11
	"outfit space" -14
	"active cooling" 65
	"cooling energy" 5.9
	description "これはカヘトが使う主要冷却器だ。集中したエネルギーを必要とするが、とても効率的で、いくつかのヘトをこれだけで冷却する能力をもつ。"

# Shield:

outfit "Ka'het Shield Restorer"
	"display name" "カヘト・シールド復元器"
	plural "カヘト・シールド復元器"
	category "Systems"
	series "Shields"
	index 05010
	cost 138000
	thumbnail "outfit/ka'het shield restorer"
	"mass" 14
	"outfit space" -17
	"shield generation" 1.02
	"energy consumption" 1.53
	description "建造者はシールド発生源には多くをけっして頼らなかった。そのかわりに、船殻の強化を好んでいたのだ。けれども、戦争という現実は、建造者に丈夫なシールド技術の開発を要求した。それがこのモジュールを広範囲に使用する、ヘトの容器につながるのである。"

outfit "Ka'het Grand Restorer"
	"display name" "カヘト・グランドリストーラー"
	plural "カヘト・グランドリストーラー"
	category "Systems"
	series "Shields"
	index 05020
	cost 1022000
	thumbnail "outfit/ka'het grand restorer"
	"mass" 72
	"outfit space" -86
	"delayed shield generation" 7.08
	"energy consumption" 10.62
	"depleted shield delay" 350
	description "このシールド生成器は、カヘトシールド技術の頂点だ。この分野は、段階的に長い期間をかけて熟達したというより、急速かつ必要に迫られて発展したものである。そうは言っても、グランドリストーラーは最大級のヘト船にすぐれた防御力を授けてくれたので、よそで使われていた基本的な回復器を置きかえることになった。"
	description "	たいていの生成器とはちがい、この回復器はいちど船のシールドが枯渇すると、また作動を開始するまで数秒の時間を必要とする。"

# Power:

outfit "Ka'het MHD Generator"
	"display name" "カヘト・MHD 発電機"
	plural "カヘト・MHD 発電機"
	category "Power"
	series "Generators"
	index 05010
	cost 1263000
	thumbnail "outfit/ka'het mhd generator"
	"mass" 20
	"outfit space" -22
	"energy generation" 3.8
	"heat generation" 5.8
	description "建造者が最初にこの磁気流体力学発電機を作ったのは、カマーの主要電力源としてだった。そして多くのマー装置がそうなったのと同様に、これはのちになってヘト船の予備エネルギー生成器として再利用されている。不足がわかったときに、これが内蔵電力システムを補助するのだ。"

outfit "Ka'het Reserve Accumulator"
	"display name" "カヘト・余剰備蓄器"
	plural "カヘト・余剰備蓄器"
	category "Power"
	series "Batteries"
	index 05010
	cost 27000
	thumbnail "outfit/ka'het reserve accumulator"
	"mass" 2
	"outfit space" -3
	"energy capacity" 2400
	description "この小さなバッテリーは、カマードローンの非常用エネルギー貯蔵器として使うために開発された。ドローンの発電機が、建造者によるほとんどのシステムが必要とする大電力を完全には満足させられなかった場合に備えたものだ。"

# Engines:

outfit "Maeri Engine Nacelles"
	"display name" "メーリエンジンナセル"
	plural "メーリエンジンナセル"
	category "Engines"
	series "Engines"
	index 05030
	"cost" 928000
	thumbnail "outfit/ka'het maeri engine"
	"mass" 59
	"outfit space" -76
	"engine capacity" -59
	"energy consumption" 5.01
	"heat generation" 1.1
	"thrust" 58.08
	"thrusting heat" 2.8
	"turn" 1397.1
	"turning heat" 1.3
	"flare sprite" "effect/ka'het flare/large"
		"frame rate" 30
	"flare sound" "plasma medium"
	"steering flare sprite" "effect/ka'het flare/large"
		"frame rate" 30
	"steering flare sound" "plasma medium"
	description "カヘットのエンジンは変わっていて、常に大量の電力を食い続ける一方、起動に追加の電力をまったく必要としない。つまり、ほかの系統に回せる電力は減るものの、たいていの推進装置よりいくらか効率がよく、発熱もごくわずかだ。"

outfit "Ka'het Sustainer Nacelles"
	"display name" "カヘト・サステイナーナセル"
	plural "カヘト・サステイナーナセル"
	category "Engines"
	series "Engines"
	index 05020
	"cost" 357000
	thumbnail "outfit/ka'het sustainer engine"
	"mass" 27
	"outfit space" -34
	"engine capacity" -27
	"heat generation" 0.6
	"energy consumption" 2.49
	"thrust" 25.17
	"thrusting heat" 1.0
	"turn" 648.15
	"turning heat" 0.5
	"flare sprite" "effect/ka'het flare/medium"
		"frame rate" 30
	"flare sound" "plasma small"
	"steering flare sprite" "effect/ka'het flare/medium"
		"frame rate" 30
	"steering flare sound" "plasma small"
	description "カヘトの船には適切なエンジンがすでに装備されているが、そのほとんどは追加のサステイナーエンジンを使って、戦闘でもじゅうぶんに満足できる機動性を与えられていた。大きないとこと同じ設計を踏襲するこのサステイナーは、機能させるのに電力は必要としないが、絶え間なくエネルギーを消費するという代償がある。"

outfit "Telis Engine Nacelles"
	"display name" "テリスエンジンナセル"
	plural "テリスエンジンナセル"
	category "Engines"
	series "Engines"
	index 05040
	"cost" 1372000
	thumbnail "outfit/ka'het telis engine"
	"mass" 81
	"outfit space" -101
	"engine capacity" -81
	"energy consumption" 6.81
	"heat generation" 1.4
	"thrust" 83.1
	"thrusting heat" 3.5
	"turn" 2068.8
	"turning heat" 1.9
	"flare sprite" "effect/ka'het flare/large"
		"frame rate" 30
	"flare sound" "plasma medium"
	"steering flare sprite" "effect/ka'het flare/large"
		"frame rate" 30
	"steering flare sound" "plasma medium"
	description "このナセルはかつてテリスヘトのエンジン部まるごとを構成していた。大きさについてはほかのエンジンと比べて見ごたえのあるものではないが、サステイナー 1 基か 2 基と連結して使えば、強力な型の推進器ともなりえるし、これには操舵エンジンと推進エンジンが両方ひとつにまとまっているのだ。"

outfit "Vareti Engine Block"
	"display name" "バレティエンジンブロック"
	plural "バレティエンジンブロック"
	category "Engines"
	series "Engines"
	index 05050
	"cost" 1815000
	thumbnail "outfit/ka'het vareti engine"
	"mass" 137
	"outfit space" -168
	"engine capacity" -137
	"energy consumption" 10.90
	"heat generation" 2.58
	"thrust" 140.85
	"thrusting heat" 6.7
	"turn" 3500.85
	"turning heat" 3.32
	"flare sprite" "effect/ka'het flare/large"
		"frame rate" 30
	"flare sound" "plasma large"
	"steering flare sprite" "effect/ka'het flare/large"
		"frame rate" 30
	"steering flare sound" "plasma large"
	description "これは建造者が建造したものとしては最大の単一エンジンで、建造者の管理下にある屈指の規模の船のために作られた。とてつもなく大きいので、これはもっと小さな同等品ほどモジュール化されていないが、結果としてさらに効率がよく強力になっている。"

outfit "Ka'het Compact Engine"
	"display name" "カヘト・小型エンジン"
	plural "カヘト・小型エンジン"
	category "Engines"
	series "Engines"
	index 05010
	"cost" 172000
	thumbnail "outfit/ka'het compact engine"
	"mass" 21
	"outfit space" -26
	"engine capacity" -21
	"heat generation" 0.3
	"energy consumption" 0.48
	"thrust" 19.17
	"thrusting energy" 1.7
	"thrusting heat" 1.2
	"turn" 351.6
	"turning energy" 0.42
	"turning heat" 0.3
	"flare sprite" "effect/ka'het flare/medium"
		"frame rate" 30
	"flare sound" "plasma small"
	"steering flare sprite" "effect/ka'het flare/medium"
		"frame rate" 30
	"steering flare sound" "plasma small"
	description "この小さなエンジンはカマードローンの主力推進器として設計された。それはカヘトが作られて、そのナセルが標準化されるよりずっとまえのことだ。時とともに改良されてきたことで、これは大型のものに匹敵するほどの効率を維持することができる。しかし大型エンジンとはちがって、エンジンを作動させるのにエネルギーをいくらか追加で必要とした。これはすべての建造者のエンジンがもつ、絶え間ないエネルギー漏出によるものだ。"

# Hand to Hand:

outfit "Ka'het Electric Stunner"
	"display name" "カヘット電気スタナー"
	plural "カヘット電気スタナー"
	category "Hand to Hand"
	cost 103500
	thumbnail "outfit/ka'het taser"
	"capture attack" 1.3
	"capture defense" 8.5
	"unplunderable" 1
	description "妙な造りの武器で、人間の手で扱うことなどまるで考えられていない。射程が短いため役に立つのは船に乗り込んできた敵を追い払うときだけだが、そこでは自分の船の造りを知り尽くしている強みが活きる。"
